/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Race American Indian Cherokee</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S14979 (C-0-T14914-S14915-S14916-S14979-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getRaceAmericanIndianCherokee()
 * @model extendedMetaData="name='RaceAmericanIndianCherokee'"
 * @generated
 */
public enum RaceAmericanIndianCherokee implements Enumerator {
	/**
	 * The '<em><b>10884</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10884_VALUE
	 * @generated
	 * @ordered
	 */
	_10884(0, "_10884", "1088-4"),

	/**
	 * The '<em><b>10892</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10892_VALUE
	 * @generated
	 * @ordered
	 */
	_10892(1, "_10892", "1089-2"),

	/**
	 * The '<em><b>10900</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10900_VALUE
	 * @generated
	 * @ordered
	 */
	_10900(2, "_10900", "1090-0"),

	/**
	 * The '<em><b>10918</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10918_VALUE
	 * @generated
	 * @ordered
	 */
	_10918(3, "_10918", "1091-8"),

	/**
	 * The '<em><b>10926</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10926_VALUE
	 * @generated
	 * @ordered
	 */
	_10926(4, "_10926", "1092-6"),

	/**
	 * The '<em><b>10934</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10934_VALUE
	 * @generated
	 * @ordered
	 */
	_10934(5, "_10934", "1093-4"),

	/**
	 * The '<em><b>10942</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10942_VALUE
	 * @generated
	 * @ordered
	 */
	_10942(6, "_10942", "1094-2"),

	/**
	 * The '<em><b>10959</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10959_VALUE
	 * @generated
	 * @ordered
	 */
	_10959(7, "_10959", "1095-9"),

	/**
	 * The '<em><b>10967</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10967_VALUE
	 * @generated
	 * @ordered
	 */
	_10967(8, "_10967", "1096-7"),

	/**
	 * The '<em><b>10975</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10975_VALUE
	 * @generated
	 * @ordered
	 */
	_10975(9, "_10975", "1097-5"),

	/**
	 * The '<em><b>10983</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_10983_VALUE
	 * @generated
	 * @ordered
	 */
	_10983(10, "_10983", "1098-3");

	/**
	 * The '<em><b>10884</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10884</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10884
	 * @model literal="1088-4"
	 * @generated
	 * @ordered
	 */
	public static final int _10884_VALUE = 0;

	/**
	 * The '<em><b>10892</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10892</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10892
	 * @model literal="1089-2"
	 * @generated
	 * @ordered
	 */
	public static final int _10892_VALUE = 1;

	/**
	 * The '<em><b>10900</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10900</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10900
	 * @model literal="1090-0"
	 * @generated
	 * @ordered
	 */
	public static final int _10900_VALUE = 2;

	/**
	 * The '<em><b>10918</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10918</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10918
	 * @model literal="1091-8"
	 * @generated
	 * @ordered
	 */
	public static final int _10918_VALUE = 3;

	/**
	 * The '<em><b>10926</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10926</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10926
	 * @model literal="1092-6"
	 * @generated
	 * @ordered
	 */
	public static final int _10926_VALUE = 4;

	/**
	 * The '<em><b>10934</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10934</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10934
	 * @model literal="1093-4"
	 * @generated
	 * @ordered
	 */
	public static final int _10934_VALUE = 5;

	/**
	 * The '<em><b>10942</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10942</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10942
	 * @model literal="1094-2"
	 * @generated
	 * @ordered
	 */
	public static final int _10942_VALUE = 6;

	/**
	 * The '<em><b>10959</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10959</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10959
	 * @model literal="1095-9"
	 * @generated
	 * @ordered
	 */
	public static final int _10959_VALUE = 7;

	/**
	 * The '<em><b>10967</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10967</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10967
	 * @model literal="1096-7"
	 * @generated
	 * @ordered
	 */
	public static final int _10967_VALUE = 8;

	/**
	 * The '<em><b>10975</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10975</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10975
	 * @model literal="1097-5"
	 * @generated
	 * @ordered
	 */
	public static final int _10975_VALUE = 9;

	/**
	 * The '<em><b>10983</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>10983</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_10983
	 * @model literal="1098-3"
	 * @generated
	 * @ordered
	 */
	public static final int _10983_VALUE = 10;

	/**
	 * An array of all the '<em><b>Race American Indian Cherokee</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RaceAmericanIndianCherokee[] VALUES_ARRAY =
		new RaceAmericanIndianCherokee[] {
			_10884,
			_10892,
			_10900,
			_10918,
			_10926,
			_10934,
			_10942,
			_10959,
			_10967,
			_10975,
			_10983,
		};

	/**
	 * A public read-only list of all the '<em><b>Race American Indian Cherokee</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RaceAmericanIndianCherokee> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Race American Indian Cherokee</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianCherokee get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAmericanIndianCherokee result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race American Indian Cherokee</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianCherokee getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAmericanIndianCherokee result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race American Indian Cherokee</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianCherokee get(int value) {
		switch (value) {
			case _10884_VALUE: return _10884;
			case _10892_VALUE: return _10892;
			case _10900_VALUE: return _10900;
			case _10918_VALUE: return _10918;
			case _10926_VALUE: return _10926;
			case _10934_VALUE: return _10934;
			case _10942_VALUE: return _10942;
			case _10959_VALUE: return _10959;
			case _10967_VALUE: return _10967;
			case _10975_VALUE: return _10975;
			case _10983_VALUE: return _10983;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RaceAmericanIndianCherokee(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RaceAmericanIndianCherokee
